package com.slipper.system.flow.dao;

import java.util.List;

import com.slipper.system.flow.bo.FlowLineCondBO;
import org.apache.ibatis.annotations.Param;

/**
 * 流程线路条件表
 */
public interface FlowLineCondDao {
    
    int insert(FlowLineCondBO bo);
    
    int update(FlowLineCondBO bo);
    
    int delete(FlowLineCondBO bo);

    FlowLineCondBO queryBy(String id);
    
    List<FlowLineCondBO> queryList(FlowLineCondBO bo);

    int deleteByLineId(String lineId);

    int deleteBy(@Param("preNodeId") String preNodeId, @Param("nextNodeId") String nextNodeId);

    int deleteByFlowId(String flowId);

    List<FlowLineCondBO> queryListByLineId(String lineId);
}
